<?php
/**
 * Intreface DAO
 *
 * @author: http://phpdao.com
 * @date: 2015-05-26 14:36
 */
interface BusinessesCategoryDAO{

	/**
	 * Get Domain object by primry key
	 *
	 * @param String $id primary key
	 * @Return BusinessesCategory 
	 */
	public function load($id);

	/**
	 * Get all records from table
	 */
	public function queryAllSearchBy($businessesCategory);
	
	public function SearchByCount($businessesCategory);
	
	public function queryAll($businessesCategory);
	
	public function queryAllCount($businessesCategory);
	
	/**
	 * Get all records from table ordered by field
	 * @Param $orderColumn column name
	 */
	public function queryAllOrderBy($orderColumn);
	
	/**
 	 * Delete record from table
 	 * @param businessesCategory primary key
 	 */
	public function delete($businesscat_id);
	
	/**
 	 * Insert record to table
 	 *
 	 * @param BusinessesCategory businessesCategory
 	 */
	public function insert($businessesCategory);
	
	/**
 	 * Update record in table
 	 *
 	 * @param BusinessesCategory businessesCategory
 	 */
	public function update($businessesCategory);	

	/**
	 * Delete all rows
	 */
	public function clean();

	public function queryByAdminId($value);

	public function queryByCategoryName($value);

	public function queryByCategoryContent($value);

	public function queryByStatus($value);

	public function queryByCreatedDate($value);

	public function queryByUpdatedDate($value);


	public function deleteByAdminId($value);

	public function deleteByCategoryName($value);

	public function deleteByCategoryContent($value);

	public function deleteByStatus($value);

	public function deleteByCreatedDate($value);

	public function deleteByUpdatedDate($value);


}
?>